package com.zs.lib_base.utils

import java.text.NumberFormat

/**
 * descrition:
 */

fun NumberFormat1(value:String):String{
    val nf = NumberFormat.getInstance()
    return if(value.isNullOrEmpty()){
        nf.format( 0)
    }else{
        nf.format( value.toDouble())
    }

}